import PropTypes from 'prop-types'
import React, { memo } from 'react'
import {Bat} from '../public'
const test1 = memo((props) => {
  return (
    <>
    <div>我爱你</div>
    <div>我也爱你</div>
    <Bat.Consumer>
      {
        msg=>(<div style={{'color':msg.color}}>{msg.color}</div>)
      }
    </Bat.Consumer>
    </>
  )
})

test1.propTypes = {}

export default test1